local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1, L40_1, L41_1, L42_1, L43_1, L44_1, L45_1, L46_1, L47_1, L48_1, L49_1
L0_1 = {}
L0_1.group_id = 144001193
L1_1 = {}
L1_1.duration = 90
L1_1.group_id = 144001193
L2_1 = {}
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 193001
L3_1.gadget_id = 70211111
L4_1 = {}
L4_1.x = 206.153
L4_1.y = 210.649
L4_1.z = 141.906
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 35.903
L4_1.z = 352.855
L3_1.rot = L4_1
L3_1.level = 16
L3_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\190\164\229\178\155"
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 102
L4_1 = {}
L4_1.config_id = 193002
L4_1.gadget_id = 70350083
L5_1 = {}
L5_1.x = 365.259
L5_1.y = 189.77
L5_1.z = 424.242
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 355.104
L4_1.rot = L5_1
L4_1.level = 1
L4_1.persistent = true
L4_1.area_id = 102
L5_1 = {}
L5_1.config_id = 193003
L5_1.gadget_id = 70360001
L6_1 = {}
L6_1.x = 366.091
L6_1.y = 190.656
L6_1.z = 424.236
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.persistent = true
L5_1.area_id = 102
L6_1 = {}
L6_1.config_id = 193004
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 364.099
L7_1.y = 189.478
L7_1.z = 414.992
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 351.862
L7_1.y = 184.846
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 102
L7_1 = {}
L7_1.config_id = 193011
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 363.513
L8_1.y = 190.469
L8_1.z = 408.088
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 352.344
L8_1.y = 186.458
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 102
L8_1 = {}
L8_1.config_id = 193012
L8_1.gadget_id = 70690001
L9_1 = {}
L9_1.x = 362.733
L9_1.y = 191.402
L9_1.z = 401.195
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 352.734
L9_1.y = 187.744
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 102
L9_1 = {}
L9_1.config_id = 193013
L9_1.gadget_id = 70690001
L10_1 = {}
L10_1.x = 361.797
L10_1.y = 192.287
L10_1.z = 394.314
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 353.105
L10_1.y = 188.958
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 102
L10_1 = {}
L10_1.config_id = 193014
L10_1.gadget_id = 70690001
L11_1 = {}
L11_1.x = 360.715
L11_1.y = 193.127
L11_1.z = 387.45
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 353.476
L11_1.y = 190.154
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 102
L11_1 = {}
L11_1.config_id = 193015
L11_1.gadget_id = 70690001
L12_1 = {}
L12_1.x = 359.489
L12_1.y = 193.923
L12_1.z = 380.604
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 353.856
L12_1.y = 191.372
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 102
L12_1 = {}
L12_1.config_id = 193016
L12_1.gadget_id = 70690001
L13_1 = {}
L13_1.x = 358.117
L13_1.y = 194.672
L13_1.z = 373.781
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 354.258
L13_1.y = 192.65
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 102
L13_1 = {}
L13_1.config_id = 193017
L13_1.gadget_id = 70690001
L14_1 = {}
L14_1.x = 356.592
L14_1.y = 195.372
L14_1.z = 366.986
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 354.668
L14_1.y = 193.94
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.area_id = 102
L14_1 = {}
L14_1.config_id = 193018
L14_1.gadget_id = 70690001
L15_1 = {}
L15_1.x = 354.913
L15_1.y = 196.023
L15_1.z = 360.221
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 355.128
L15_1.y = 195.375
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.area_id = 102
L15_1 = {}
L15_1.config_id = 193019
L15_1.gadget_id = 70690001
L16_1 = {}
L16_1.x = 353.064
L16_1.y = 196.617
L16_1.z = 353.497
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 355.593
L16_1.y = 196.818
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.area_id = 102
L16_1 = {}
L16_1.config_id = 193020
L16_1.gadget_id = 70690001
L17_1 = {}
L17_1.x = 351.044
L17_1.y = 197.155
L17_1.z = 346.816
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 356.134
L17_1.y = 198.48
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.area_id = 102
L17_1 = {}
L17_1.config_id = 193021
L17_1.gadget_id = 70690001
L18_1 = {}
L18_1.x = 348.831
L18_1.y = 197.627
L18_1.z = 340.192
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 356.67
L18_1.y = 200.203
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.area_id = 102
L18_1 = {}
L18_1.config_id = 193022
L18_1.gadget_id = 70690001
L19_1 = {}
L19_1.x = 346.417
L19_1.y = 198.033
L19_1.z = 333.635
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 356.957
L19_1.y = 201.851
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L18_1.area_id = 102
L19_1 = {}
L19_1.config_id = 193023
L19_1.gadget_id = 70690001
L20_1 = {}
L20_1.x = 343.816
L20_1.y = 198.405
L20_1.z = 327.147
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 357.113
L20_1.y = 203.286
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L19_1.area_id = 102
L20_1 = {}
L20_1.config_id = 193024
L20_1.gadget_id = 70690001
L21_1 = {}
L21_1.x = 332.38
L21_1.y = 202.108
L21_1.z = 306.039
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 270.04
L21_1.y = 205.701
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L20_1.area_id = 102
L21_1 = {}
L21_1.config_id = 193025
L21_1.gadget_id = 70690001
L22_1 = {}
L22_1.x = 332.378
L22_1.y = 209.108
L22_1.z = 306.033
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 270.04
L22_1.y = 205.701
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L21_1.area_id = 102
L22_1 = {}
L22_1.config_id = 193026
L22_1.gadget_id = 70690001
L23_1 = {}
L23_1.x = 332.375
L23_1.y = 216.108
L23_1.z = 306.028
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 270.049
L23_1.y = 205.821
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L22_1.area_id = 102
L23_1 = {}
L23_1.config_id = 193027
L23_1.gadget_id = 70690001
L24_1 = {}
L24_1.x = 332.372
L24_1.y = 223.108
L24_1.z = 306.022
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 270.049
L24_1.y = 205.821
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L23_1.area_id = 102
L24_1 = {}
L24_1.config_id = 193028
L24_1.gadget_id = 70690013
L25_1 = {}
L25_1.x = 332.407
L25_1.y = 174.271
L25_1.z = 306.035
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L24_1.area_id = 102
L25_1 = {}
L25_1.config_id = 193032
L25_1.gadget_id = 70690001
L26_1 = {}
L26_1.x = 315.675
L26_1.y = 201.242
L26_1.z = 270.891
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 357.633
L26_1.y = 209.646
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L25_1.area_id = 102
L26_1 = {}
L26_1.config_id = 193033
L26_1.gadget_id = 70690001
L27_1 = {}
L27_1.x = 312.215
L27_1.y = 201.531
L27_1.z = 264.812
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 357.647
L27_1.y = 210.154
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L26_1.area_id = 102
L27_1 = {}
L27_1.config_id = 193034
L27_1.gadget_id = 70690001
L28_1 = {}
L28_1.x = 308.702
L28_1.y = 201.819
L28_1.z = 258.765
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 357.656
L28_1.y = 210.672
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L27_1.area_id = 102
L28_1 = {}
L28_1.config_id = 193035
L28_1.gadget_id = 70690001
L29_1 = {}
L29_1.x = 305.134
L29_1.y = 202.105
L29_1.z = 252.749
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 357.658
L29_1.y = 211.21
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L28_1.area_id = 102
L29_1 = {}
L29_1.config_id = 193036
L29_1.gadget_id = 70690001
L30_1 = {}
L30_1.x = 301.51
L30_1.y = 202.391
L30_1.z = 246.767
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 357.651
L30_1.y = 211.77
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L29_1.area_id = 102
L30_1 = {}
L30_1.config_id = 193037
L30_1.gadget_id = 70690001
L31_1 = {}
L31_1.x = 297.827
L31_1.y = 202.678
L31_1.z = 240.821
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 357.635
L31_1.y = 212.395
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L30_1.area_id = 102
L31_1 = {}
L31_1.config_id = 193038
L31_1.gadget_id = 70690001
L32_1 = {}
L32_1.x = 294.08
L32_1.y = 202.967
L32_1.z = 234.915
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 357.607
L32_1.y = 213.092
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L31_1.area_id = 102
L32_1 = {}
L32_1.config_id = 193039
L32_1.gadget_id = 70690001
L33_1 = {}
L33_1.x = 290.262
L33_1.y = 203.259
L33_1.z = 229.056
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 357.561
L33_1.y = 213.931
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L32_1.area_id = 102
L33_1 = {}
L33_1.config_id = 193040
L33_1.gadget_id = 70690001
L34_1 = {}
L34_1.x = 286.358
L34_1.y = 203.557
L34_1.z = 223.253
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 357.486
L34_1.y = 214.999
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L33_1.area_id = 102
L34_1 = {}
L34_1.config_id = 193041
L34_1.gadget_id = 70690001
L35_1 = {}
L35_1.x = 282.347
L35_1.y = 203.864
L35_1.z = 217.525
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 357.363
L35_1.y = 216.478
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L34_1.area_id = 102
L35_1 = {}
L35_1.config_id = 193042
L35_1.gadget_id = 70690001
L36_1 = {}
L36_1.x = 278.19
L36_1.y = 204.186
L36_1.z = 211.902
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 357.058
L36_1.y = 218.826
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L35_1.area_id = 102
L36_1 = {}
L36_1.config_id = 193043
L36_1.gadget_id = 70690001
L37_1 = {}
L37_1.x = 273.808
L37_1.y = 204.545
L37_1.z = 206.457
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 356.566
L37_1.y = 221.219
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L36_1.area_id = 102
L37_1 = {}
L37_1.config_id = 193044
L37_1.gadget_id = 70690001
L38_1 = {}
L38_1.x = 269.203
L38_1.y = 204.965
L38_1.z = 201.201
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 356.202
L38_1.y = 222.954
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 1
L37_1.area_id = 102
L38_1 = {}
L38_1.config_id = 193045
L38_1.gadget_id = 70690001
L39_1 = {}
L39_1.x = 264.444
L39_1.y = 205.428
L39_1.z = 196.089
L38_1.pos = L39_1
L39_1 = {}
L39_1.x = 355.927
L39_1.y = 224.279
L39_1.z = 0.0
L38_1.rot = L39_1
L38_1.level = 1
L38_1.area_id = 102
L39_1 = {}
L39_1.config_id = 193046
L39_1.gadget_id = 70690001
L40_1 = {}
L40_1.x = 259.57
L40_1.y = 205.925
L40_1.z = 191.09
L39_1.pos = L40_1
L40_1 = {}
L40_1.x = 355.714
L40_1.y = 225.314
L40_1.z = 0.0
L39_1.rot = L40_1
L39_1.level = 1
L39_1.area_id = 102
L40_1 = {}
L40_1.config_id = 193047
L40_1.gadget_id = 70690001
L41_1 = {}
L41_1.x = 254.607
L41_1.y = 206.448
L41_1.z = 186.182
L40_1.pos = L41_1
L41_1 = {}
L41_1.x = 355.537
L41_1.y = 226.174
L41_1.z = 0.0
L40_1.rot = L41_1
L40_1.level = 1
L40_1.area_id = 102
L41_1 = {}
L41_1.config_id = 193048
L41_1.gadget_id = 70690001
L42_1 = {}
L42_1.x = 249.572
L42_1.y = 206.993
L43_1 = 181.349
L42_1.z = L43_1
L41_1.pos = L42_1
L42_1 = {}
L43_1 = 355.383
L42_1.x = L43_1
L43_1 = 226.934
L42_1.y = L43_1
L42_1.z = 0.0
L41_1.rot = L42_1
L41_1.level = 1
L41_1.area_id = 102
L42_1 = {}
L43_1 = 193049
L42_1.config_id = L43_1
L42_1.gadget_id = 70690001
L43_1 = {}
L44_1 = 244.475
L43_1.x = L44_1
L44_1 = 207.557
L43_1.y = L44_1
L44_1 = 176.585
L43_1.z = L44_1
L42_1.pos = L43_1
L43_1 = {}
L44_1 = 355.252
L43_1.x = L44_1
L44_1 = 227.582
L43_1.y = L44_1
L43_1.z = 0.0
L42_1.rot = L43_1
L42_1.level = 1
L42_1.area_id = 102
L43_1 = {}
L44_1 = 193050
L43_1.config_id = L44_1
L43_1.gadget_id = 70690001
L44_1 = {}
L45_1 = 239.325
L44_1.x = L45_1
L45_1 = 208.136
L44_1.y = L45_1
L45_1 = 171.879
L44_1.z = L45_1
L43_1.pos = L44_1
L44_1 = {}
L45_1 = 355.133
L44_1.x = L45_1
L45_1 = 228.17
L44_1.y = L45_1
L44_1.z = 0.0
L43_1.rot = L44_1
L43_1.level = 1
L43_1.area_id = 102
L44_1 = {}
L45_1 = 193051
L44_1.config_id = L45_1
L44_1.gadget_id = 70690001
L45_1 = {}
L46_1 = 234.128
L45_1.x = L46_1
L46_1 = 208.73
L45_1.y = L46_1
L46_1 = 167.228
L45_1.z = L46_1
L44_1.pos = L45_1
L45_1 = {}
L46_1 = 355.021
L45_1.x = L46_1
L46_1 = 228.727
L45_1.y = L46_1
L45_1.z = 0.0
L44_1.rot = L45_1
L44_1.level = 1
L44_1.area_id = 102
L45_1 = {}
L46_1 = 193052
L45_1.config_id = L46_1
L45_1.gadget_id = 70690001
L46_1 = {}
L47_1 = 228.887
L46_1.x = L47_1
L47_1 = 209.337
L46_1.y = L47_1
L47_1 = 162.627
L46_1.z = L47_1
L45_1.pos = L46_1
L46_1 = {}
L47_1 = 354.912
L46_1.x = L47_1
L47_1 = 229.275
L46_1.y = L47_1
L46_1.z = 0.0
L45_1.rot = L46_1
L45_1.level = 1
L45_1.area_id = 102
L46_1 = {}
L47_1 = 193053
L46_1.config_id = L47_1
L46_1.gadget_id = 70690001
L47_1 = {}
L48_1 = 223.603
L47_1.x = L48_1
L48_1 = 209.958
L47_1.y = L48_1
L48_1 = 158.078
L47_1.z = L48_1
L46_1.pos = L47_1
L47_1 = {}
L48_1 = 354.784
L47_1.x = L48_1
L48_1 = 229.916
L47_1.y = L48_1
L47_1.z = 0.0
L46_1.rot = L47_1
L46_1.level = 1
L46_1.area_id = 102
L47_1 = {}
L48_1 = 193054
L47_1.config_id = L48_1
L47_1.gadget_id = 70690001
L48_1 = {}
L49_1 = 218.269
L48_1.x = L49_1
L49_1 = 210.595
L48_1.y = L49_1
L49_1 = 153.59
L48_1.z = L49_1
L47_1.pos = L48_1
L48_1 = {}
L49_1 = 354.784
L48_1.x = L49_1
L49_1 = 229.916
L48_1.y = L49_1
L48_1.z = 0.0
L47_1.rot = L48_1
L47_1.level = 1
L47_1.area_id = 102
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
L2_1[10] = L12_1
L2_1[11] = L13_1
L2_1[12] = L14_1
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
L2_1[16] = L18_1
L2_1[17] = L19_1
L2_1[18] = L20_1
L2_1[19] = L21_1
L2_1[20] = L22_1
L2_1[21] = L23_1
L2_1[22] = L24_1
L2_1[23] = L25_1
L2_1[24] = L26_1
L2_1[25] = L27_1
L2_1[26] = L28_1
L2_1[27] = L29_1
L2_1[28] = L30_1
L2_1[29] = L31_1
L2_1[30] = L32_1
L2_1[31] = L33_1
L2_1[32] = L34_1
L2_1[33] = L35_1
L2_1[34] = L36_1
L2_1[35] = L37_1
L2_1[36] = L38_1
L2_1[37] = L39_1
L2_1[38] = L40_1
L2_1[39] = L41_1
L2_1[40] = L42_1
L2_1[41] = L43_1
L2_1[42] = L44_1
L2_1[43] = L45_1
L2_1[44] = L46_1
L2_1[45] = L47_1
gadgets = L2_1
L2_1 = "regions"
L3_1 = {}
_ENV[L2_1] = L3_1
L2_1 = "triggers"
L3_1 = {}
L4_1 = {}
L5_1 = 1193005
L4_1.config_id = L5_1
L5_1 = "CHALLENGE_SUCCESS_193005"
L4_1.name = L5_1
L5_1 = "event"
L6_1 = "EventType"
L6_1 = _ENV[L6_1]
L7_1 = "EVENT_CHALLENGE_SUCCESS"
L6_1 = L6_1[L7_1]
L4_1[L5_1] = L6_1
L5_1 = "source"
L6_1 = "666"
L4_1[L5_1] = L6_1
L5_1 = "condition"
L6_1 = ""
L4_1[L5_1] = L6_1
L5_1 = "action"
L6_1 = "action_EVENT_CHALLENGE_SUCCESS_193005"
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = 1193006
L5_1.config_id = L6_1
L6_1 = "CHALLENGE_FAIL_193006"
L5_1.name = L6_1
L6_1 = "event"
L7_1 = "EventType"
L7_1 = _ENV[L7_1]
L8_1 = "EVENT_CHALLENGE_FAIL"
L7_1 = L7_1[L8_1]
L5_1[L6_1] = L7_1
L6_1 = "source"
L7_1 = "666"
L5_1[L6_1] = L7_1
L6_1 = "condition"
L7_1 = ""
L5_1[L6_1] = L7_1
L6_1 = "action"
L7_1 = "action_EVENT_CHALLENGE_FAIL_193006"
L5_1[L6_1] = L7_1
L6_1 = "trigger_count"
L7_1 = 0
L5_1[L6_1] = L7_1
L6_1 = {}
L7_1 = 1193007
L6_1.config_id = L7_1
L7_1 = "GADGET_STATE_CHANGE_193007"
L6_1.name = L7_1
L7_1 = "event"
L8_1 = "EventType"
L8_1 = _ENV[L8_1]
L9_1 = "EVENT_GADGET_STATE_CHANGE"
L8_1 = L8_1[L9_1]
L6_1[L7_1] = L8_1
L7_1 = "source"
L8_1 = ""
L6_1[L7_1] = L8_1
L7_1 = "condition"
L8_1 = "condition_EVENT_GADGET_STATE_CHANGE_193007"
L6_1[L7_1] = L8_1
L7_1 = "action"
L8_1 = "action_EVENT_GADGET_STATE_CHANGE_193007"
L6_1[L7_1] = L8_1
L7_1 = "trigger_count"
L8_1 = 0
L6_1[L7_1] = L8_1
L7_1 = {}
L8_1 = 1193008
L7_1.config_id = L8_1
L8_1 = "GADGET_STATE_CHANGE_193008"
L7_1.name = L8_1
L8_1 = "event"
L9_1 = "EventType"
L9_1 = _ENV[L9_1]
L10_1 = "EVENT_GADGET_STATE_CHANGE"
L9_1 = L9_1[L10_1]
L7_1[L8_1] = L9_1
L8_1 = "source"
L9_1 = ""
L7_1[L8_1] = L9_1
L8_1 = "condition"
L9_1 = "condition_EVENT_GADGET_STATE_CHANGE_193008"
L7_1[L8_1] = L9_1
L8_1 = "action"
L9_1 = ""
L7_1[L8_1] = L9_1
L8_1 = "tag"
L9_1 = "202"
L7_1[L8_1] = L9_1
L8_1 = {}
L9_1 = 1193009
L8_1.config_id = L9_1
L9_1 = "GADGET_CREATE_193009"
L8_1.name = L9_1
L9_1 = "event"
L10_1 = "EventType"
L10_1 = _ENV[L10_1]
L11_1 = "EVENT_GADGET_CREATE"
L10_1 = L10_1[L11_1]
L8_1[L9_1] = L10_1
L9_1 = "source"
L10_1 = ""
L8_1[L9_1] = L10_1
L9_1 = "condition"
L10_1 = "condition_EVENT_GADGET_CREATE_193009"
L8_1[L9_1] = L10_1
L9_1 = "action"
L10_1 = "action_EVENT_GADGET_CREATE_193009"
L8_1[L9_1] = L10_1
L9_1 = "trigger_count"
L10_1 = 0
L8_1[L9_1] = L10_1
L9_1 = {}
L10_1 = 1193010
L9_1.config_id = L10_1
L10_1 = "SELECT_OPTION_193010"
L9_1.name = L10_1
L10_1 = "event"
L11_1 = "EventType"
L11_1 = _ENV[L11_1]
L12_1 = "EVENT_SELECT_OPTION"
L11_1 = L11_1[L12_1]
L9_1[L10_1] = L11_1
L10_1 = "source"
L11_1 = ""
L9_1[L10_1] = L11_1
L10_1 = "condition"
L11_1 = "condition_EVENT_SELECT_OPTION_193010"
L9_1[L10_1] = L11_1
L10_1 = "action"
L11_1 = "action_EVENT_SELECT_OPTION_193010"
L9_1[L10_1] = L11_1
L10_1 = "trigger_count"
L11_1 = 0
L9_1[L10_1] = L11_1
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
_ENV[L2_1] = L3_1
L2_1 = "variables"
L3_1 = {}
_ENV[L2_1] = L3_1
L2_1 = "init_config"
L3_1 = {}
L4_1 = "suite"
L3_1[L4_1] = 1
L4_1 = "end_suite"
L5_1 = 3
L3_1[L4_1] = L5_1
L4_1 = "rand_suite"
L5_1 = false
L3_1[L4_1] = L5_1
_ENV[L2_1] = L3_1
L2_1 = "suites"
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 193002
L7_1 = 193003
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = "regions"
L6_1 = {}
L4_1[L5_1] = L6_1
L5_1 = "triggers"
L6_1 = {}
L7_1 = "CHALLENGE_SUCCESS_193005"
L8_1 = "CHALLENGE_FAIL_193006"
L9_1 = "GADGET_STATE_CHANGE_193007"
L10_1 = "GADGET_STATE_CHANGE_193008"
L11_1 = "GADGET_CREATE_193009"
L12_1 = "SELECT_OPTION_193010"
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L4_1[L5_1] = L6_1
L5_1 = "rand_weight"
L6_1 = 100
L4_1[L5_1] = L6_1
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 193001
L8_1 = 193004
L9_1 = 193011
L10_1 = 193012
L11_1 = 193013
L12_1 = 193014
L13_1 = 193015
L14_1 = 193016
L15_1 = 193017
L16_1 = 193018
L17_1 = 193019
L18_1 = 193020
L19_1 = 193021
L20_1 = 193022
L21_1 = 193023
L22_1 = 193024
L23_1 = 193025
L24_1 = 193026
L25_1 = 193027
L26_1 = 193028
L27_1 = 193032
L28_1 = 193033
L29_1 = 193034
L30_1 = 193035
L31_1 = 193036
L32_1 = 193037
L33_1 = 193038
L34_1 = 193039
L35_1 = 193040
L36_1 = 193041
L37_1 = 193042
L38_1 = 193043
L39_1 = 193044
L40_1 = 193045
L41_1 = 193046
L42_1 = 193047
L43_1 = 193048
L44_1 = 193049
L45_1 = 193050
L46_1 = 193051
L47_1 = 193052
L48_1 = 193053
L49_1 = 193054
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L6_1[8] = L14_1
L6_1[9] = L15_1
L6_1[10] = L16_1
L6_1[11] = L17_1
L6_1[12] = L18_1
L6_1[13] = L19_1
L6_1[14] = L20_1
L6_1[15] = L21_1
L6_1[16] = L22_1
L6_1[17] = L23_1
L6_1[18] = L24_1
L6_1[19] = L25_1
L6_1[20] = L26_1
L6_1[21] = L27_1
L6_1[22] = L28_1
L6_1[23] = L29_1
L6_1[24] = L30_1
L6_1[25] = L31_1
L6_1[26] = L32_1
L6_1[27] = L33_1
L6_1[28] = L34_1
L6_1[29] = L35_1
L6_1[30] = L36_1
L6_1[31] = L37_1
L6_1[32] = L38_1
L6_1[33] = L39_1
L6_1[34] = L40_1
L6_1[35] = L41_1
L6_1[36] = L42_1
L6_1[37] = L43_1
L6_1[38] = L44_1
L6_1[39] = L45_1
L6_1[40] = L46_1
L6_1[41] = L47_1
L6_1[42] = L48_1
L6_1[43] = L49_1
L5_1.gadgets = L6_1
L6_1 = "regions"
L7_1 = {}
L5_1[L6_1] = L7_1
L6_1 = "triggers"
L7_1 = {}
L5_1[L6_1] = L7_1
L6_1 = "rand_weight"
L7_1 = 100
L5_1[L6_1] = L7_1
L6_1 = {}
L7_1 = {}
L6_1.monsters = L7_1
L7_1 = {}
L8_1 = 193002
L7_1[1] = L8_1
L6_1.gadgets = L7_1
L7_1 = "regions"
L8_1 = {}
L6_1[L7_1] = L8_1
L7_1 = "triggers"
L8_1 = {}
L6_1[L7_1] = L8_1
L7_1 = "rand_weight"
L8_1 = 100
L6_1[L7_1] = L8_1
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_CHALLENGE_SUCCESS_193005"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 193002
  L5_2 = GadgetState
  L5_2 = L5_2.GearStop
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 144001193
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3002
  L5_2 = 3
  L6_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : mark_playerAction"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GoToGroupSuite
  L3_2 = A0_2
  L4_2 = 144001193
  L5_2 = 3
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : goto_groupSuite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_CHALLENGE_FAIL_193006"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 144001193
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 193002
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 193003
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3002
  L5_2 = 4
  L6_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : mark_playerAction"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_GADGET_STATE_CHANGE_193007"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 193002 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_GADGET_STATE_CHANGE_193007"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 666
  L5_2 = 202
  L6_2 = L1_1.duration
  L7_2 = 7
  L8_2 = 202
  L9_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = L1_1.group_id
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.MarkPlayerAction
  L3_2 = A0_2
  L4_2 = 3002
  L5_2 = 1
  L6_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_GADGET_STATE_CHANGE_193008"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 193001 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.ChestOpened
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_GADGET_CREATE_193009"
function L3_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 193003 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_GADGET_CREATE_193009"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = 144001193
  L5_2 = 193003
  L6_2 = {}
  L7_2 = 177
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "condition_EVENT_SELECT_OPTION_193010"
function L3_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 193003 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 177 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
_ENV[L2_1] = L3_1
L2_1 = "action_EVENT_SELECT_OPTION_193010"
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 193003
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 193002
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
_ENV[L2_1] = L3_1
